package com.kaifamiao.lambda;

public class Missile {

    private Integer id;
    private String name;

    public Missile(){
        super();
    }

    public Missile( String name ) {
        super();
        this.name = name;
    }

    public Missile( Integer id, String name ) {
        super();
        this.id = id;
        this.name = name;
    }

    public void fire() {
        System.out.printf( "%s快递，使命必达！\n", name );
    }
}
